home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CPPoint.h < prev    next >
Text File  |  1994-04-27  |  733b  |  28 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| This file contains the interface to the CPoint class.  A CPoint
  3. //| is a graphics primitive.  It is a colored point.
  4. //|________________________________________________________________________________
  5.  
  6. #pragma once
  7. #include "CPrimitive.h"
  8. #include <iostream.h>
  9.  
  10. CLASS CPane;
  11.  
  12. class CPPoint : public CPrimitive
  13.     {
  14.     
  15.   public:
  16.  
  17.     long            vertex_index;        //  The index of the vertex this point lies on
  18.     
  19.     void            IPPoint(CList *colors);
  20.     void            Dispose(void);
  21.     void            Read(void);
  22.     void            Draw(RGBColor *override_color, Point **screen_vertices,
  23.                             Rect *clip_rect, Boolean fAntialias);
  24.  
  25.     friend istream& operator>> (istream& s, CPPoint& path);
  26.  
  27.     };
  28.